<html>

<head>
<title>Worker TLS Client Auth Test</title>

<script src="worker_utils.js"></script>

<script>

var parms = new URLSearchParams(location.search);
var test = parms.get("test");
var url = parms.get("url");
var worker = getWorker("worker_common.js");
worker.onmessage = function(ev) {
  if (ev.data == "done")
    onSuccess();
};
if (test == "import") {
  worker.postMessage("tls-client-auth-import " + url);
} else if (test == "fetch") {
  worker.postMessage("tls-client-auth-fetch " + url);
}
</script>
</head>

<body>
<div id=statusPanel></div>
</body>
</html>
